package api;

import factory.CoffeeFactory;
import lombok.Data;
import demo1.model.Coffee;

@Data
public class CoffeeStore{

    private CoffeeFactory factory;

    public Coffee orderCoffee(){
        Coffee coffee = factory.createCoffee();
        coffee.addMilk();
        coffee.addSugar();
        return coffee;
    }
}
